const randomString = require('../../util/noStr')
const configs = require('../../config')
module.exports = [
  {
    url: '/login',
    method: 'get',
    request: (req, res) => {
      console.log(req.query)
      res.render('login', {
        title: 'login',
        randomString: randomString(36),
        // csrfToken: req.csrfToken(),
        github: configs.github
      })
    }
  }
]
